import React from 'react';
import {StatusBar} from 'react-native';
import Login from '../containers/Login/Login';
import Register from '../containers/Register';
import GuessGame from '../containers/GuessGame';
import FirstScreen from '../containers/FirstScreen';
import TBConsult from '../containers/TBConsult';
import AskQuestion from '../containers/AskQuestions';
import QuestionManage from '../containers/QuestionManage';
import TopicDetail from '../containers/TopicDetail';
import FindPswd from '../containers/FindPswd';
import Invoice from '../containers/Invoice';
import VideoDetail from '../containers/VideoDetail';
import Study from '../containers/Study';
import Community from '../containers/Community';
import MyApply from '../containers/MyApply';
import Set from '../containers/Set';
import MyDownload from '../containers/MyDownload';
import MyTimeTable from '../containers/MyTimeTable';
import MyOrder from '../containers/MyOrder';
import InvoiceDetail from '../containers/InvoiceDetail';
import OrderDetail from '../containers/OrderDetail';
import Simulation from '../containers/Simulation';
import LabelList from '../containers/LabelList';
import LabelDetail from '../containers/LabelDetail';
import ListenCouse from '../containers/ListenCouse';
import SimulationTraining from '../containers/SimulationTraining';
import QuesDetail from '../containers/QuesDetail';
import StudyHistory from '../containers/StudyHistory';
import SimulationPaper from '../containers/SimulationPaper';
import Me from '../containers/Me';
import PersonDetail from '../containers/PersonDetail';
import MyInvoice from '../containers/MyInvoice';
import CouseMall from '../containers/CouseMall';
import NewsList from '../containers/NewsList';
import NewsDetail from '../containers/NewsDetail';
import StarTeacher from '../containers/StarTeacher';
import StarTeacherDetail from '../containers/StarTeacherDetail';
import MyJob from '../containers/MyJob';
import JobDetail from '../containers/JobDetail';
import ExamList from '../containers/ExamList';
import ApplyList from '../containers/ApplyList';
import MsgNotice from '../containers/MsgNotice';
import DiscountCoupon from '../containers/DiscountCoupon';
import OnLineCouse from '../containers/OnLineCouse';
import MyCollect from '../containers/MyCollect';
import MyDataBase from '../containers/MyDataBase';
import MyQuestion from '../containers/MyQuestion';
import MyScore from '../containers/MyScore';
import CouseDetail from '../containers/CouseDetail';
import PaySure from '../containers/PaySure';
import ShopCar from '../containers/ShopCar';
import ResetPay from '../containers/ResetPay';
import TopicList from '../containers/TopicList';
import ResetPswd from '../containers/ResetPswd';
import KnowledgeDetail from '../containers/KnowledgeDetail';
import TBConsultDetail from '../containers/TBConsultDetail';
import Apply from '../containers/Apply';
import ApplyDetail from '../containers/ApplyDetail';
import ApplyInfo from '../containers/ApplyInfo';
import SaleAfter from '../containers/SaleAfter';

/* S 阅片服务 */
import Reading from '../containers/Reading';
import ReadingProblem from '../containers/ReadingProblem';
import ReadingDetail from '../containers/ReadingDetail';
import Search from '../containers/Search';
/* E 阅片服务 */
import AnswerReport from '../containers/AnswerReport';
import Protocol from '../containers/Protocol';

const MainNav = {
  Login: {
    component: Login,
    options: {
      title: '登录',
      header: () => (
        <StatusBar barStyle="dark-content" backgroundColor="#fff" />
      ),
    },
  },
  AnswerReport: {
    component: AnswerReport,
  },
  Search: {
    component: Search,
  },
  ReadingDetail: {
    component: ReadingDetail,
  },
  ReadingProblem: {
    component: ReadingProblem,
  },
  Reading: {
    component: Reading,
  },
  Register: {
    component: Register,
  },
  GuessGame: {
    component: GuessGame,
  },
  TBConsult: {
    component: TBConsult,
  },
  TBConsultDetail: {
    component: TBConsultDetail,
    options: {
      title: 'TB咨询详情',
    },
  },
  AskQuestion: {
    component: AskQuestion,
  },
  QuestionManage: {
    component: QuestionManage,
  },
  TopicDetail: {
    component: TopicDetail,
    options: {
      title: '话题详情',
    },
  },
  FindPswd: {
    component: FindPswd,
    options: {
      title: '找回密码',
    },
  },
  ResetPswd: {
    component: ResetPswd,
    options: {
      title: '修改密码',
    },
  },
  Invoice: {
    component: Invoice,
    options: {
      title: '开发票',
    },
  },
  VideoDetail: {
    component: VideoDetail,
    options: {
      title: '阅片详情',
    },
  },
  Study: {
    component: Study,
  },
  Me: {
    component: Me,
  },
  Community: {
    component: Community,
  },
  MyApply: {
    component: MyApply,
    options: {
      title: '我的报名',
    },
  },
  Set: {
    component: Set,
    options: {
      title: '系统设置',
    },
  },
  SaleAfter: {
    component: SaleAfter,
  },
  MyDownload: {
    component: MyDownload,
    options: {
      title: '我的下载',
    },
  },
  MyTimeTable: {
    component: MyTimeTable,
    options: {
      title: '我的课程表',
    },
  },
  MyOrder: {
    component: MyOrder,
  },
  InvoiceDetail: {
    component: InvoiceDetail,
    options: {
      title: '发票详情',
    },
  },
  OrderDetail: {
    component: OrderDetail,
    options: {
      title: '订单详情',
    },
  },
  Simulation: {
    component: Simulation,
  },
  LabelList: {
    component: LabelList,
  },
  LabelDetail: {
    component: LabelDetail,
    options: {
      title: '标注页',
    },
  },
  ListenCouse: {
    component: ListenCouse,
    options: {
      title: '听课页',
    },
  },
  SimulationTraining: {
    component: SimulationTraining,
  },
  QuesDetail: {
    component: QuesDetail,
  },
  StudyHistory: {
    component: StudyHistory,
    options: {
      title: '学习记录',
    },
  },
  SimulationPaper: {
    component: SimulationPaper,
    options: {
      title: '历年真题（模拟试卷）',
    },
  },
  PersonDetail: {
    component: PersonDetail,
    options: {
      title: '个人资料',
    },
  },
  MyInvoice: {
    component: MyInvoice,
  },
  CouseMall: {
    component: CouseMall,
  },
  NewsList: {
    component: NewsList,
    options: {
      title: '资讯列表',
    },
  },
  NewsDetail: {
    component: NewsDetail,
    options: {
      title: '资讯详情',
    },
  },
  ApplyInfo: {
    component: ApplyInfo,
    options: {
      title: '报名信息',
    },
  },
  StarTeacher: {
    component: StarTeacher,
    options: {
      title: '明星老师',
    },
  },
  StarTeacherDetail: {
    component: StarTeacherDetail,
    options: {
      title: '明星老师详情',
    },
  },
  MyJob: {
    component: MyJob,
    options: {
      title: '我的作业',
    },
  },
  JobDetail: {
    component: JobDetail,
    options: {
      title: '问题详情页',
    },
  },
  ExamList: {
    component: ExamList,
    options: {
      title: '考试列表',
    },
  },
  ApplyList: {
    component: ApplyList,
    options: {
      title: '报名详情',
    },
  },
  Apply: {
    component: Apply,
    options: {
      title: '报名列表',
    },
  },
  ApplyDetail: {
    component: ApplyDetail,
    options: {
      title: '报名详情',
    },
  },
  MsgNotice: {
    component: MsgNotice,
    options: {
      title: '消息公告',
    },
  },
  DiscountCoupon: {
    component: DiscountCoupon,
    options: {
      title: '优惠券中心',
    },
  },
  OnLineCouse: {
    component: OnLineCouse,
  },
  MyCollect: {
    component: MyCollect,
  },
  MyDataBase: {
    component: MyDataBase,
    options: {
      title: '我的题库',
    },
  },
  MyQuestion: {
    component: MyQuestion,
    options: {
      title: '我的问题',
    },
  },
  MyScore: {
    component: MyScore,
    options: {
      title: '我的成绩',
    },
  },
  PaySure: {
    component: PaySure,
    options: {
      title: '支付确认',
    },
  },
  ResetPay: {
    component: ResetPay,
    options: {
      title: '支付确认',
    },
  },
  TopicList: {
    component: TopicList,
    options: {
      title: '话题列表',
    },
  },
  CouseDetail: {
    component: CouseDetail,
  },
  ShopCar: {
    component: ShopCar,
  },
  firstScreen: {
    component: FirstScreen,
    options: {
      header: () => <StatusBar hidden />,
    },
  },
  KnowledgeDetail: {
    component: KnowledgeDetail,
    options: {
      title: '知识库详情',
    },
  },
  Protocol: {
    component: Protocol,
  },
};

module.exports = MainNav;
